package com.frxuexi.mymvi

import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

interface ApiService {
    @GET("/api/news/page?type=1&size=10")
    fun getNews(@Query("page") page:Int):Flow<NewsData>
}